package com.question.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.question.Dto.QuestionDto;
import com.question.Vo.QuestionImportVo;
import com.question.common.PageResult;
import com.question.entity.Paper;
import com.question.entity.Question;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface QuestionService  extends IService<Question> {
    void imports(List<QuestionImportVo> list);

    PageResult selectByPage(Integer pageNo, Integer pageSize, String keyword);

    void addquestion(QuestionDto questionDto);

    void editQuestion(QuestionDto questionDto);

    void deleteById(Integer id);
}
